<?php
/**
 * Hoffman Framework
 *
 * LICENSE
 *
 * This source file is subject to the GNU LGPL 2.1 license that is bundled
 * with this package in the file license.txt.
 * It is also available through the world-wide-web at this URL:
 * http://creativecommons.org/licenses/LGPL/2.1
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to annop@thaicyberpoint.com so we can send you a copy immediately.
 *
 * @package    Hoffman
 * @author     Ford AntiTrust
 * @copyright  Copyright (c) 2008 Ford AntiTrust (http://www.thaicyberpoint.com/ford/blog)
 * @since      Version Rv 0.2
 * @license    http://creativecommons.org/licenses/LGPL/2.1
 *             GNU LGPL 2.1
 * @filesource
 */

if (!defined('INDEX'))
    die('No direct script access allowed.');

 /**
 * Routing
 *
 * Routing file is the configuaration process of selecting paths in controller and action.
 *
 * @package     Hoffman
 * @subpackage  application
 * @category    Routing
 * @author      Ford AntiTrust
 * @version     SVN: $Id: Routing.php 99 2009-01-16 17:41:01Z annop.s@gmail.com $
 * @link        http://www.thaicyberpoint.com/ford/blog/hmf
 */
/**
 * Rounting configuration
 *
 * @var $rounting array [keywords, map]
 *
 * keywords : keyword     => PREG Patter
 * map      : PREG Patter => path
 */
$rounting['keywords'] = array(
    ':controller' => '[a-zA-Z][a-zA-Z0-9_\-]*', // Default
    ':action' => '[a-zA-Z][a-zA-Z0-9_\-]*' // Default
);

$rounting['map'] = array(
    ':controller/:action' => null // Default
);
?>